package com.ruoyi.project.lely.bean.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import lombok.Data;


/**
 * 商品基本信息
 *
 * @author luoyong
 */
@Data
@ApiModel("商品基本信息 出参VO")
public class LyGoodsVO {

    @ApiModelProperty("ID")
    private String id;

    @ApiModelProperty("商品编号")
    private String goodsSn;

    @ApiModelProperty("商品名称")
    private String name;

    @ApiModelProperty("所属类目ID")
    private Integer categoryId;

    @ApiModelProperty("ID")
    private Integer brandId;

    @ApiModelProperty("商品宣传图片列表，采用JSON数组格式")
    private String gallery;

    @ApiModelProperty("商品关键字")
    private String keywords;

    @ApiModelProperty("商品简介")
    private String brief;

    @ApiModelProperty("是否上架")
    private Integer isOnSale;

    @ApiModelProperty("ID")
    private Integer sortOrder;

    @ApiModelProperty("商品图片")
    private String picUrl;

    @ApiModelProperty("商品分享朋友圈图片")
    private String shareUrl;

    @ApiModelProperty("是否新品首发")
    private Integer isNew;

    @ApiModelProperty("是否人气推荐")
    private Integer isHot;

    @ApiModelProperty("单位")
    private String unit;

    @ApiModelProperty("专柜价格")
    private BigDecimal counterPrice;

    @ApiModelProperty("零售价格")
    private BigDecimal retailPrice;

    @ApiModelProperty("详细介绍")
    private String detail;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty("浏览量")
    private Integer browse;

    @ApiModelProperty("已销售总量")
    private Integer sales;

    @ApiModelProperty("逻辑删除")
    private Integer deleted;

    @ApiModelProperty("供货单位")
    private String commpany;

    @ApiModelProperty("批发价格")
    private BigDecimal wholesalePrice;

    @ApiModelProperty("审批状态 ：4 未提交  0 待审批  1 审批通过 2 审批拒绝")
    private Integer approveStatus;

    @ApiModelProperty("审批内容")
    private String approveMsg;

    @ApiModelProperty("佣金类型 ： 0 无推广佣金  1 自定义佣金 2 代理审批比例")
    private Integer brokerageType;

    @ApiModelProperty("推广佣金金额")
    private BigDecimal brokeragePrice;

}
